package dao;

import model.Wechat;

import java.util.List;

public interface WechatsManagement {
    String SaveOne(Wechat wechat);

    String updateOne(long u_id, String wechat_id);

    boolean deleteOneByWechatId(String wechat_id);

    boolean deleteOneByUserId(long u_id);

    List<Wechat> query(Wechat wechat, int pageSize, int page);

    List<Wechat> query(Wechat wechat);

    List<Wechat> query(int pageSize, int page);

    List<Wechat> query();

    List<Wechat> queryALL();

    List<Wechat> queryALL(int pageSize, int page);
}
